package com.platform.study.services.impl;

import com.platform.study.services.api.NetbarServices;

import com.platform.study.services.dto.User;
import org.springframework.stereotype.Component;


import javax.jws.WebService;

/**
 *  网吧web services 接口实现
 * @author xiaojf 2017/7/24 21:38
 */
@WebService(serviceName = "NetbarServices"//服务名
        ,targetNamespace = "http://api.service.study.platform.com"//报名倒叙，并且和接口定义保持一致
        ,endpointInterface = "com.platform.study.services.api.NetbarServices")//包名
@Component
public class NetbarServicesImpl implements NetbarServices {
    @Override
    public String sayHello(User user) {
        return "hello , "+ user.toString();
    }
}
